import { SexEnum, StatusEnum } from '@/types/enum'

export interface UserCriteria {
  username?: string | null
  sex?: SexEnum | null
  status?: StatusEnum | null
  nick_name?: string | null
  phone?: string | null
  email?: string | null
  create_time?: [number, number] | null
}

export interface UserModalDto {
  id?: number | null
  username: string | null
  sex?: SexEnum | null
  nick_name?: string | null
  phone?: string | null
  email?: string | null
  role_ids?: number[] | null
  status: StatusEnum
  remark?: string | null
}
